package com.rabbitmq.demo.model;

import lombok.Data;

import java.util.Date;

/**
 * Created by dangjing on 18-8-24.
 */
@Data
public class Person {

    private int id;
    private String name;
    private String sex;
    private Date birthday;

    public Person() {
    }

    public Person(int id, String name, String sex, Date birthday) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
    }
}
